.container {
  min-height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
}

/* 用户信息栏 */
.userInfo {
  background-color: #f8f9fa;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
}

.userDetails {
  display: flex;
  align-items: center;
  gap: 8px;
}

.userName {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.userId {
  font-size: 14px;
  color: #666;
}

.switchButton {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background-color: white;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.switchButton:hover {
  background-color: #f0f0f0;
}

.switchIcon {
  font-size: 16px;
}

.switchText {
  font-size: 14px;
  color: #333;
}

/* 标签页 */
.tabContainer {
  background-color: white;
  display: flex;
  border-bottom: 1px solid #e9ecef;
}

.tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.tab:hover {
  color: #1890ff;
}

.activeTab {
  color: #1890ff;
  background-color: #e6f7ff;
}

.activeTab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #1890ff;
}

/* 预约卡片列表 */
.appointmentList {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appointmentCard {
  background-color: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 医生信息 */
.doctorInfo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.doctorAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.doctorDetails {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doctorName {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.doctorTitle {
  font-size: 14px;
  color: #666;
}

.department {
  font-size: 14px;
  color: #666;
}

.hospital {
  font-size: 14px;
  color: #666;
}

/* 预约详情 */
.appointmentDetails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detailRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.label {
  font-size: 14px;
  color: #666;
  min-width: 60px;
}

.value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* 操作区域 */
.actionArea {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
}

.retrieveButton {
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.retrieveButton:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.timeInfo {
  background-color: #f5f5f5;
  color: #666;
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 14px;
  text-align: center;
}

.timeInfo.disabled {
  background-color: #fff2e8;
  color: #d46b08;
  border: 1px solid #ffd591;
}

.timeInfo.enabled {
  background-color: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.completedInfo {
  background-color: #f6ffed;
  color: #52c41a;
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .appointmentCard {
    padding: 12px;
  }
  
  .doctorAvatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .doctorName {
    font-size: 15px;
  }
  
  .tab {
    padding: 12px;
    font-size: 15px;
  }
}

/* 排队号区域 */
.queueSection {
  margin-top: 16px;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.queueNumber {
  font-size: 16px;
  font-weight: 700;
  color: #1890ff;
  background-color: white;
  padding: 8px 20px;
  border-radius: 16px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(24, 144, 255, 0.2);
}